package com.csproj.basic.service.mapper;

import com.csproj.basic.domain.CollarRecord;
import com.csproj.basic.service.dto.CollarRecordDTO;
import com.csproj.siiat.service.mapper.EntityMapper;
import org.mapstruct.Mapper;

/**
 * Mapper for the entity CollarRecord and its DTO CollarRecordDTO.
 */
@Mapper(componentModel = "spring", uses = {})
public interface CollarRecordMapper extends EntityMapper<CollarRecordDTO, CollarRecord> {

    

    

    default CollarRecord fromId(String id) {
        if (id == null) {
            return null;
        }
        CollarRecord collarRecord = new CollarRecord();
        collarRecord.setId(id);
        return collarRecord;
    }
}
